package cn.zgz.mapper;

import java.sql.ResultSet;

import cn.zgz.model.managerModel;

public class managerMapper implements IRowMapper<managerModel> {
	@Override
	public managerModel rowMapper(ResultSet rs) throws Exception {
		managerModel model = new managerModel();
		model.setmId(rs.getInt("mId"));
		model.setmName(rs.getString("mName"));
		model.setmRealName(rs.getString("MRealName"));
		model.setmNo(rs.getString("mNo"));
		model.setmPhone(rs.getString("mPhone"));
		model.setmPower(rs.getInt("mPower"));
		model.setmDescrible(rs.getString("mDescrible"));
		return model;
	}
}
